import { defineNavbarConfig } from "vuepress-theme-hope";

export const NavbarConfig = defineNavbarConfig([
  "/",
  {
    text: "随笔",
    icon: "note",
    prefix: "/note/",
    children: [
      {
        text: "随笔",
        link: "",
        icon: "note",
        activeMatch: "^/note/$"
      },
    ],
  },
  {
    text: "笔记",
    icon: "code",
    children: [
      {
        text: "代码笔记",
        icon: "code",
        link: "/code/",
        activeMatch: "^/code/$",
      },
      {
        text: "产品运维",
        children: ["/linux/"],
      },
    ],
  },
]);